-- GENERATED SPELL FOR [Swoop] --


function spell0_2970(pUnit, Event) --@Swoop,n/a--
pUnit:FullCastSpellOnTarget(5708,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2970', 2263, 1)
end

function Sorts_2970(pUnit, Event)
local choix_sorts_2970 = math.random(0, 0)
if choix_sorts_2970 == 0 then
pUnit:RegisterEvent('spell0_2970', 1, 1)
end
end

function mob2970_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2970', math.random(1500, 3000), 1)
end

function mob2970_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2970_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2970_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2970, 1, 'mob2970_Action')
RegisterUnitEvent(2970, 2, 'mob2970_Leave')
RegisterUnitEvent(2970, 3, 'mob2970_Kill')
RegisterUnitEvent(2970, 4, 'mob2970_Die')
